package org.zk.entity;




import java.io.Serializable;

/**
 * <p>
 * 科目表
 * </p>
 *
 * @author Alicelonely
 * @since 2019-12-11
 */
public class Subject implements Serializable {

    private static final long serialVersionUID = 1L;


    private Integer subjectId;
    /**
     * 科目名称
     */

    private String subjectName;
    /**
     * 课程类型外键
     */

    private Type type;


    public Integer getSubjectId() {
        return subjectId;
    }

    public void setSubjectId(Integer subjectId) {
        this.subjectId = subjectId;
    }

    public String getSubjectName() {
        return subjectName;
    }

    public void setSubjectName(String subjectName) {
        this.subjectName = subjectName;
    }

    @Override
    public String toString() {
        return "Subject{" +
                "subjectId=" + subjectId +
                ", subjectName='" + subjectName + '\'' +
                ", type=" + type +
                '}';
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Type getType() {
        return type;
    }

    public void setType(Type type) {
        this.type = type;
    }
}
